package com.jxd.project.travel.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @ClassName Transportation
 * @Description TODO
 * @Author 邢子剑
 * @Date 2025/9/24 上午9:16
 * @Version 1.0
 */
@Data
@TableName("dictionary")
public class Dictionary {
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private int id;
    @TableField("type")
    private String type;
    @TableField("name")
    private String name;
    @TableField("value")
    private String value;
    @TableLogic
    @TableField("isdelete")
    private String isdelete;

    public void setIsDelete(int i) {
        this.isdelete = i == 1 ? "1" : "0";
    }
}
